package com.mccken.web.bean;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2023-12-26 22:35
 **/
@Component
public class McckenBean implements InitializingBean {
	@Override
	public void afterPropertiesSet() throws Exception {
		System.out.println("step2 afterPropertiesSet 2");
	}

	@PostConstruct
	public void init() {
		System.out.println("step1 PostConstruct");
	}

}
